#include "ros/ros.h"

// 两套删除API

int main(int argc, char **argv)
{
    setlocale(LC_ALL,"");
    ros::init(argc, argv, "param_del_c");
    ros::NodeHandle nh;
    bool flag1 = nh.deleteParam("radius");
    if (flag1)
    {
        ROS_INFO("success");

    }
    else{
        ROS_INFO("failed");
    }

    
    bool flag2 = ros::param::del("radius_param");
    if (flag2)
    {
        ROS_INFO("success");

    }
    else{
        ROS_INFO("failed");
    }

    return 0;
}